package com.fintech.third.model.moxie.alipay;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 魔蝎支付宝信息 - 基本信息
 * @author 吴俊峰
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MXAlipayUserInfo implements Serializable{

	private static final long serialVersionUID = 1L;

	//支付宝账号在魔蝎数据中的映射ID
	@JsonProperty("mapping_id")
	private String mappingId;
	
	//用户在支付宝中的用户ID
	@JsonProperty("alipay_userid")
	private String alipayUserId;
	
	//表示用户是否进过过实名认证  true: 表示经过认证; false: 表示未经过认证
	@JsonProperty("certified")
	private boolean certified;
	
	//支付宝用户性别
	@JsonProperty("gender")
	private String gender;
	
	//支付宝用户姓名
	@JsonProperty("user_name")
	private String userName;
	
	//用户身份证号号
	@JsonProperty("idcard_number")
	private String idcardNumber;
	
	//用户绑定支付宝账号的邮箱
	@JsonProperty("email")
	private String email;
	
	//用户绑定支付宝账号的手机号
	@JsonProperty("phone_number")
	private String phoneNumber;
	
	//淘宝会员名
	@JsonProperty("taobao_id")
	private String taobaoId;
	
	//支付宝注册时间
	@JsonProperty("register_time")
	private Date registerTime;

	public String getMappingId() {
		return mappingId;
	}

	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}

	public String getAlipayUserId() {
		return alipayUserId;
	}

	public void setAlipayUserId(String alipayUserId) {
		this.alipayUserId = alipayUserId;
	}

	public boolean isCertified() {
		return certified;
	}

	public void setCertified(boolean certified) {
		this.certified = certified;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIdcardNumber() {
		return idcardNumber;
	}

	public void setIdcardNumber(String idcardNumber) {
		this.idcardNumber = idcardNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getTaobaoId() {
		return taobaoId;
	}

	public void setTaobaoId(String taobaoId) {
		this.taobaoId = taobaoId;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
